<template>
    <h2>我是home</h2>


</template>
<script>
    export default {
        name: 'Home',
        beforeDestroy() {
            console.log('home组件即将被销毁了');
        }, mounted() {
            console.log('home组件挂载完毕', this);
        }
    }
</script>
<style>
</style>